package com.kim.net;

import java.io.InputStream;

public interface NetCallback {

	/**
	 * 网络操作成功
	 */
	void onSuccess(int httpResponseCode, InputStream inputStream,
			NetEntity netEntity, boolean gzip);

	/**
	 * 网络操作失败
	 */
	void onError(int httpResponseCode, String errorMsg);

	/**
	 * 网络其他响应码
	 */
	void onOtherResponseCode(int httpResponseCode, InputStream inputStream,
			NetEntity netEntity, boolean gzip);
}
